// 导入封装好的axios
import $axios from "./axios"
// 导入模拟数据封装的axios
import $sliceAxios from "./slideAxios"

/**
 * 封装请求三级菜单的axios方法
 * @params  空
 * @returns Promise
 */
export const ReqGetBaseCategoryList = () => $axios.get("/api/product/getBaseCategoryList")

/**
 * 请求轮播图
 * @returns Promise
 */
export const ReqGetSlice = () => $sliceAxios.get("/slice")

/**
 * 请求楼层
 * @returns Promise
 */
export const ReqGetFloor = () => $sliceAxios.get("/floor")

/**
 * 获取商品列表数据
 * @param {*} params 商品列表参数
 * @returns Promise
 */
export const ReqGetGoodsList = (params) => $axios.post("/api/list",params)

